package com.patent.service.impl;

import com.patent.dao.MonitorPatentMapper;
import com.patent.domain.po.MonitorPatent;
import com.patent.domain.po.Patent;
import com.patent.service.MonitorPatentService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @create 2018-04-29 16:26
 **/
@Service("monitorPatentService")
@Transactional
public class MonitorPatentServiceImpl implements MonitorPatentService {

	private static final Logger log = LoggerFactory.getLogger(MonitorPatentServiceImpl.class);

	@Resource(name="monitorPatentMapper")
	private MonitorPatentMapper monitorPatentMapper;

	@Override
	public List<Patent> queryMonitorPatentInfo(Map<String, Object> map) {
		return monitorPatentMapper.queryMonitorPatentInfo(map);
	}

	@Override
	public List<String> queryAllMobile() {
		return monitorPatentMapper.queryAllMobile();
	}
}
